function setActiveSlot(slot) {
	currentSlot = slot;
	printLog('Set active slot to '+slot);
	$("#active-indicator-"+otherSlot(slot)+" div.indicator").removeClass("on");
	$("#active-indicator-"+otherSlot(slot)+" div.indicator").addClass("off");
	$("#active-indicator-"+slot+" div.indicator").removeClass("off");
	$("#active-indicator-"+slot+" div.indicator").addClass("on");
}

function setPlayButton(playing, slot) {
	if (playing) {
		$("#vid-"+slot+"-controllers div.play-button").removeClass("off");
		$("#vid-"+slot+"-controllers div.play-button").addClass("on");
	} else {
		$("#vid-"+slot+"-controllers div.play-button").removeClass("on");
		$("#vid-"+slot+"-controllers div.play-button").addClass("off");
	}
}

function setAutoDJButton(autodj) {
	if (autodj) {
		$("#dj-button").removeClass("off");
		$("#dj-button").addClass("on");
	} else {
		$("#dj-button").removeClass("on");
		$("#dj-button").addClass("off");
	}
}

function setTitle(vidid, slot) {
	title = $("#title_"+vidid).html();
	printLog("Setting title of vidid "+vidid+" in slot "+ slot+" to: "+title);
	$("#vid-" + slot + "-title").hide();
	$("#vid-" + slot + "-title").html(title);
	$("#vid-" + slot + "-title").fadeIn();
}